|
|
|
| Table 7.1. continued | | Property | Setting | | Value | 14 | | Fields to Show | BookSales.Title | | BookSales.Units | | Order by | BookSales.Units, Desc |
|
|
|
|
|
|
After you have entered all the values, click Save and enter qryTest at the dialog prompt. You have just saved the query for future use. Now try running it. Click Run to get Visdata to execute the query. Click No when Visdata asks you if this is an SQL Passthrough query. Visdata then executes the query and displays the results on your screen, as shown in Figure 7.34. |
|
|
|
|
|
|
|
|
Figure 7.34.
Results of the executed query. |
|
|
|
|
|
|
|
|
The Data Form Designer builds a data entry form complete with a data control and command buttons for data administration. The form is saved to the currently active Visual Basic project. To demonstrate, let's build a sample form with the Data Form Designer. |
|
|
|
|
|
|
|
|
First, make sure you have the BOOKS5.MDB (TYSDBVB5\SOURCE\DATA) database open in Visdata. Next, select Data Form Designer . . . from the Utility Menu. You should see the Data Form Designer dialog (see Figure 7.35). |
|
|
|
|
|